home *** CD-ROM | disk | FTP | other *** search
-
- to compile programs in the above-indicated sub- directories/trees,
- one must load libglut. inst-able images of GLUT v3.1 are located at
- toolbox/src/exampleCode/opengl/GLUT/inst/
-
- -------------------------------------
-
- ~opengl2/labs/fly README
-
- Copyright 1991, 1992, 1993, Silicon Graphics, Inc.
- Technical Education Development
- All Rights Reserved.
-
-
- fly.h: contains function prototypes, defines constants, and
- includes GL/gl.h, GL/glu.h, math.h, stdio.h, and aux.h
-
-
- flyutil.c: contains utility routines used by the fly program.
-
-
- fly.c: allows the user to "fly" through a simple virtual world.
-
-
- ____________________________________________________________________________
- * Utility routines are located in flyutil.c
- *
- * MODIFYING THE PROGRAM
- * ---------------------
- * New shapes should be added to the world in the routine drawShapes().
- *
- * If new shapes are to be on the path of the autopilot, they must be
- * near a circle centered at the world origin with a radius of 10.0,
- * parallel to and raised above the 'floor,' the X-Z plane.
- *
- * As a starting point, here are some good places to center your objects:
- * ( 0.0, 1.0, 10.0 )
- * ( 7.0, 1.0, 7.0 )
- * ( 10.0, 1.0, 0.0 )
- * ( 7.0, 1.0, -7.0 )
- * ( 0.0, 1.0, -10.0)
- * ( -7.0, 1.0, -7.0)
- * ( -10.0, 1.0, 0.0)
- * ( -7.0, 1.0, 7.0 )
- *___________________________________________________________________________
-
-
-
- INPUT CONTROLS:
-
- <?> key - help, prints this info
- <a> key - <a>utopilot start/stop
- <b> key - <b>lend, alpha blending
- <d> key - toggle <d>ebugging printfs
- <g> key - show floor <g>rid
- <n> key - <n>ormals drawing toggle
- <r> key - <r>eset eye position
- SPACE key - cycle wireframe/flat shaded/smooth
- LEFT Mouse - control moving the eye forward
- MIDDLE Mouse - control moving the eye backward
- Mouse pointer - change direction: pull back to go up, forward to dive
- Escape key - exit the program
-